<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./carousel.css" />
  </head>
  <body>
    <div class="carousel">
      <!-- 1.轮播组图 -->
      <ul class="imgs">
        <li>
          <a href="#"><img src="images/1.jpg" alt="banner" /></a>
        </li>
        <li>
          <a href="#"><img src="images/2.jpg" alt="banner" /></a>
        </li>
        <li>
          <a href="#"><img src="images/3.jpg" alt="banner" /></a>
        </li>
        <li>
          <a href="#"><img src="images/4.jpg" alt="banner" /></a>
        </li>
      </ul>
      <!-- 2.控制器 -->
      <div class="prev"></div>
      <div class="next"></div>
      <!-- 3.分页器 -->
      <div class="count">
        <ul>
          <li class="active">1</li>
          <li>2</li>
          <li>3</li>
          <li>4</li>
        </ul>
      </div>
    </div>
    <script src="./csrousel.js"></script>
  </body>
</html>
